
package bibliotheque.document;

import java.io.Serializable;

public class DocumentSummary implements Serializable {
    
    
    private DocumentId id;
    private String title;
    private String summary;
    
    public DocumentSummary(DocumentId id, String title,String summary) {
        this.title = title;
        this.summary = summary;
        this.id = id;
    }
    
    public DocumentId GetId(){
        return this.id;
    }
    
    public String GetTitle(){
        return this.title;
    }
    
    public String GetSummary(){
        return this.summary;
    }
}
